package testes;

import java.sql.Connection;
import java.sql.SQLException;

import jdbc.ConnectionFactory;

public class ConnectionTest {

	/**
	 * @param args
	 * @throws SQLException 
	 */
	public static void main(String[] args) throws SQLException {
		Connection connection = new ConnectionFactory().getConnection();
		
		System.out.println("Conectado!");
		
		connection.close();
		
		System.out.println("Fechado!");

	}

}
